package com.example.springbootdeep2;

import com.example.springbootdeep2.annotation.EnableHelloWorld;
import com.example.springbootdeep2.annotation.EnableHelloWorldSelector;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//@EnableHelloWorld
//@EnableHelloWorldSelector(model = "second")
@SpringBootApplication // 自动装配
public class SpringBootDeep2Application {

	public static void main(String[] args) {
//		SpringApplication.run(SpringBootDeep2Application.class, args);

		// 第二种启动方式
		new SpringApplication(SpringBootDeep2Application.class).run(args);

	}

}
